<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<html>
<head>
    <title>在线商城系统</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/style.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        .hero {
            text-align: center;
            padding: 100px 20px;
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .logo {
            font-size: 4rem;
            margin-bottom: 20px;
            color: #fff;
        }

        h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .tagline {
            font-size: 1.8rem;
            margin-bottom: 40px;
            opacity: 0.9;
        }

        .login-options {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 50px;
        }

        .login-card {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            padding: 30px;
            width: 300px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
        }

        .login-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }

        .user-card {
            border-top: 5px solid #4CAF50;
        }

        .admin-card {
            border-top: 5px solid #FF5722;
        }

        .card-icon {
            font-size: 4rem;
            margin-bottom: 20px;
        }

        .user-card .card-icon {
            color: #4CAF50;
        }

        .admin-card .card-icon {
            color: #FF5722;
        }

        .card-title {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #333;
        }

        .card-desc {
            color: #666;
            margin-bottom: 25px;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.2rem;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            width: 80%;
        }

        .user-btn {
            background: #4CAF50;
            color: white;
        }

        .user-btn:hover {
            background: #45a049;
            transform: scale(1.05);
        }

        .admin-btn {
            background: #FF5722;
            color: white;
        }

        .admin-btn:hover {
            background: #e64a19;
            transform: scale(1.05);
        }

        .footer {
            text-align: center;
            padding: 20px;
            background: rgba(0,0,0,0.2);
            color: rgba(255,255,255,0.7);
            font-size: 1rem;
            position: absolute;
            bottom: 0;
            width: 100%;
        }
    </style>
</head>
<body>
<div class="hero">
    <div class="hero-content">
        <div class="logo">
            <i class="fas fa-shopping-cart"></i>
        </div>
        <h1>欢迎来到在线商城系统</h1>
        <p class="tagline">一站式购物体验，满足您的所有需求</p>

        <div class="login-options">
            <div class="login-card user-card">
                <div class="card-icon">
                    <i class="fas fa-user"></i>
                </div>
                <h2 class="card-title">用户登录</h2>

                <a href="${pageContext.request.contextPath}/login" class="btn user-btn">用户登录</a>
            </div>

            <div class="login-card admin-card">
                <div class="card-icon">
                    <i class="fas fa-lock"></i>
                </div>
                <h2 class="card-title">管理员登录</h2>

                <a href="${pageContext.request.contextPath}/admin/login" class="btn admin-btn">管理员登录</a>
            </div>
        </div>
    </div>
</div>


</body>
</html>